<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String ctx = request.getContextPath();
	String resources = ctx + "/resources";
%>
<!-- 模态框（Modal） -->
<div class="modal-dialog">
	<div class="modal-content">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal"
				aria-hidden="true">&times;</button>
			<h4 class="modal-title" id="myModalLabel">修改友情链接</h4>
		</div>
		<div class="modal-body">
			<form action="<%=ctx%>/back/link/updateLink.do" method="post">
				<input name="id" value="${link.id }" type="hidden">
				<p>
					<label>链接名称:</label> <input name="name" type="text"
						value="${link.name }" class="form-control" />
				</p>
				<p>
					<label>链接地址:</label> <input name="url" type="text"
						value="${link.url }" class="form-control" />
				</p>
				<p>
					<label>位置:</label> <input name="pos" type="text"
						value="${link.pos }" class="form-control" />
				</p>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭
					</button>
					<button type="submit" class="btn btn-primary">编辑</button>
				</div>
			</form>
		</div>
	</div>
	<!-- /.modal-content -->
</div>
<!-- /.modal -->